<div class='fui-page fui-page-current'>
	<div class='fui-content'>
		<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.member.nickname || '昵称'}} </div>
					<div style="font-size:0.6rem"><span class="fui-tag fui-tag-danger" style="background:linear-gradient(to right,rgba(244,221,187,0.6),rgba(235,216,174,1));color:#512f0a;" href="javascript:;" onclick="$('#show_vipcard').modal();">{{pagedata.item.leveltitle}}</span></div>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">我的余额</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.credit2 || 0.00}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">采购总额</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.statics.orderprice || 0}}</div>
														
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">采购次数</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.statics.ordertotal || 0}}</div>
													</div>
					</div>
			</div>			
			</div>
			<div style="padding:0 0.5rem;margin-top:-1.5rem">
			<div class="fui-icon-group noborder col-4 mod-group" style="background:#fff">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.member.credit2 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">余额 <span href="javascript:;" ng-click="access_json('core/member.feecard/')" style="color:{{main.syscolor || '#7c1cc9'}}">查看</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div ng-click="access_json('core/member.xunibi//type=1')">
														<div class="text bold">{{pagedata.member.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的积分 <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
													</div>
												</div>
												<div ng-repeat="c in pagedata.item.credit_type" class="fui-icon-col-sm external" style="margin:0">
													<div ng-click="access_json('core/member.xunibi//type='+c.id)">
														<div class="text bold">{{c.data || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">{{c.title}} <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
													</div>
												</div>
			</div>
			<div class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json(pagedata.orderurl)">
								<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
								<div class="fui-cell-text">我的订单</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看全部订单</div>
							</a>
							<div class="fui-icon-group col-5 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(pagedata.orderurl+'/status=0')">
									<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
									<div class="icon icon-green radius"><i class="icon icon-daifukuan1"></i></div>
									<div class="text">待付款</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(pagedata.orderurl+'/status=1')">
									<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.statics.status1}}</div>
									<div class="icon icon-orange radius"><i class="icon icon-daifahuo"></i></div>
									<div class="text">待发货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(pagedata.orderurl+'/status=2')">
									<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.statics.status2}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-daishouhuo1"></i></div>
									<div class="text">待收货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(pagedata.orderurl+'/status=3')">
									<div class="badge" ng-if="pagedata.statics.status3>0">{{pagedata.statics.status3}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-survey1"></i></div>
									<div class="text">待评价</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(pagedata.orderurl+'/status=5')">
									<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.statics.status4}}</div>
									<div class="icon icon-pink radius"><i class="icon icon-tuihuanhuo1"></i></div>
									<div class="text">退换货</div>
								</a>
							</div>
			</div>
			<div class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_merch/member.credit_log/')">
								<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
								<div class="fui-cell-text">我的日常</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看记录</div>
							</a>
							
							<div class="fui-icon-group col-4 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_merch/member.paylog/')">
										<div class="icon icon-green radius"><i class="icon icon-yiban"></i></div>
										<div class="text">支付流水</div>
								</a>
								<a ng-repeat="c in pagedata.item.credit_type" class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_merch/member.credit_log//type='+c.id)">
									<div class="icon icon-green radius"><i class="icon icon-quanbudingdan"></i></div>
									<div class="text">{{c.title}}日记</div>
								</a>
							</div>
			</div>
			</div>
			<div class="fui-cell-group fui-cell-click" style="background:none">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
								<div class="fui-cell-text" style="text-align: center;">修改密码</div>
							</a>
							<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
								<div class="fui-cell-text" style="text-align: center;">退出登录</div>
							</a>
			</div>
	</div>
</div>
<div ng-if="pagedata.showzhuan" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showzhuan=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行转账操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-dixiaofei" style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="转账金额" ng-model="pagedata.post.fee"></div>
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-mobilephone"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="收款人账户/手机号" ng-model="pagedata.post.mobile"></div>
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-password"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="支付密码" ng-model="pagedata.post.password"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.post,'post')">确认转账</a>
			</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showpassword" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showpassword=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行“设置支付密码”操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-password"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='password' class='fui-input' placeholder="支付密码" ng-model="pagedata.post.password"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.post,'password')">确认提交</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>